<!--
 * @Author: 噜噜雯雯 2199987619@qq.com
 * @Date: 2025-05-22 14:32:05
 * @LastEditors: 噜噜雯雯 2199987619@qq.com
 * @LastEditTime: 2025-06-18 08:19:37
 * @FilePath: \巡检管理系统\巡检任务详情
 *
-->
<script setup lang="ts">
import { PropType } from 'vue'
import { Descriptions, DescriptionsSchema } from '@/components/Descriptions'
import { PatrolPlanListType } from '@/api/linePatrol/type'
defineProps({
  currentRow: {
    type: Object as PropType<Nullable<PatrolPlanListType>>,
    default: () => null
  },
  detailSchema: {
    type: Array as PropType<DescriptionsSchema[]>,
    default: () => []
  }
})
</script>

<template>
  <Descriptions :schema="detailSchema" :data="currentRow || {}" />
</template>
